package com.lagou.io;

import java.io.InputStream;

/**
 * @program: mybatis学习
 * @description:
 * @author: lijun
 * @create: 2020-05-18 14:40
 **/
public class Resources {

    /**
     *
     *@title
     *@author lijun
     *@date 2020/5/18
     *@param
     *@return
     */
    public static InputStream getResourceAsSteam(String xmlPath){
        InputStream resourceAsStream = Resources.class.getClassLoader().getResourceAsStream(xmlPath);
        return  resourceAsStream;
    }

}
